package com.lunatic.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lunatic.entity.Company;
import com.lunatic.service.CompanyService;
import com.lunatic.mapper.CompanyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author MH
* @description 针对表【company】的数据库操作Service实现
* @createDate 2024-05-22 15:55:51
*/
@Service
public class CompanyServiceImpl extends ServiceImpl<CompanyMapper, Company>
    implements CompanyService{
    @Autowired
    private CompanyMapper mapper;

    public Company find(int id) {
        return mapper.selectById(id);
    }
}




